Exemplo n.º 1
0
        public IResult Delete(int id)
        {
            var value = _adminDal.Get(x => x.Id == id);

            _adminDal.Delete(value);
            return(new SuccessResult());
        }
 public void Delete(string kullaniciAdi)
 {
     _adminDal.Delete(new Admin()
     {
         KullaniciAdi = kullaniciAdi
     });
 }
Exemplo n.º 3
0
 public bool Delete(Admin model)
 {
     try
     {
         return(adminDal.Delete(model));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 4
0
 public void AdminDelete(Admin admin)
 {
     _adminDal.Delete(admin);
 }
 public void Delete(Admin entity)
 {
     dal.Delete(entity);
 }
Exemplo n.º 6
0
 public void AdminDelete(Admin admin)
 {
     admin.AdminUserName = lm.Encrypt(admin.AdminUserName);
     //admin.AdminPassword = lm.PasswordHash(admin.AdminPassword);
     _adminDal.Delete(admin);
 }
Exemplo n.º 7
0
 public IResult Delete(Admin admin)
 {
     _adminDal.Delete(admin);
     return(new SuccessResult(Messages.Success));
 }
 public Admin Delete(Admin admin)
 {
     return(_dal.Delete(admin));
 }
Exemplo n.º 9
0
 public bool Delete(Admin entity)
 {
     return(_adminDal.Delete(entity));
 }
 public IResult Delete(Admin entity)
 {
     return(_adminDal.Delete(entity));
 }
Exemplo n.º 11
0
        public void Delete(int id)
        {
            var value = _adminDal.Get(x => x.Id == id);

            _adminDal.Delete(value);
        }
        public void Delete(int adminId)
        {
            var admin = _adminDal.Get(i => i.Id == adminId);

            _adminDal.Delete(admin);
        }
Exemplo n.º 13
0
 public void Delete(Admin entity)
 {
     _adminDal.Delete(entity);
 }
        public void Delete(int id)
        {
            var deletedAdmin = GetById(id);

            _adminDal.Delete(deletedAdmin);
        }