Exemplo n.º 1
0
 public void Delete(AppUser appUser)
 {
     if (appUser == null)
     {
         throw new System.NotImplementedException();
     }
     _appUserDal.Delete(appUser);
 }
Exemplo n.º 2
0
        public async Task <IResult> Delete(AppUserDeleteInput deleteInput)
        {
            var user = await _appUserDal.Get(t => t.Id == deleteInput.Id);

            if (user == null)
            {
                return(new ErrorResult(Messages.UnSuccessfully));
            }
            await _appUserDal.Delete(user);


            return(new SuccessResult(Messages.Successfully));
        }
Exemplo n.º 3
0
 public void Delete(AppUser entity)
 {
     _appUserDal.Delete(entity);
 }
 public void Delete(AppUser appUser)
 {
     _appUserDal.Delete(appUser);
 }