Exemplo n.º 1
0
        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"));
            }
        }
Exemplo n.º 2
0
 public Task DeleteAsync(PaytmUser parameters)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 3
0
 public HashSet <string> DeleteValidation(PaytmUser parameters)
 {
     return(ValidationMessages);
 }
Exemplo n.º 4
0
        public async Task UpdateAsync(PaytmUser entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 5
0
 public HashSet <string> UpdateValidation(PaytmUser entity)
 {
     return(ValidationMessages);
 }
Exemplo n.º 6
0
        public async Task AddAsync(PaytmUser entity)
        {
            await Uow.RegisterNewAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 7
0
 public Task <object> GetAsync(PaytmUser parameters)
 {
     throw new NotImplementedException();
 }