/// <summary> /// Loging user to check is registred or not /// </summary> /// <param name="Email"></param> /// <param name="password"></param> /// <returns></returns> public Task <ApplicationUser> Login(string Email, string password) { //Do code here return(_userGroceryRepository.Login(Email, password)); //throw new NotImplementedException(); }
public async Task <ApplicationUser> Login(string Email, string password) { var result = await _userGroceryRepository.Login(Email, password); return(result); }