package com.nisum.mytime.repository;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.nisum.mytime.model.EmployeeRoles;

public interface EmployeeRolesRepo extends MongoRepository<EmployeeRoles, String> {
	
	EmployeeRoles findByEmailId(String emailId);

	EmployeeRoles findByEmployeeId(String employeeId);
	
}
