public async Task <object> GetBy(PaytmUser parameters) { var count = Uow.Repository <PaytmUser>().Count(t => t.MobileNumber == parameters.MobileNumber && t.Password == parameters.Password); if (count != 0) { return(await Task.FromResult("Successfull Login")); } else { return(await Task.FromResult("Try Again Please")); } }
public Task DeleteAsync(PaytmUser parameters) { throw new NotImplementedException(); }
public HashSet <string> DeleteValidation(PaytmUser parameters) { return(ValidationMessages); }
public async Task UpdateAsync(PaytmUser entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public HashSet <string> UpdateValidation(PaytmUser entity) { return(ValidationMessages); }
public async Task AddAsync(PaytmUser entity) { await Uow.RegisterNewAsync(entity); await Uow.CommitAsync(); }
public Task <object> GetAsync(PaytmUser parameters) { throw new NotImplementedException(); }