Exemple #1
0
 public void Delete(int companyId)
 {
     _companyDal.Delete(new Company {
         CompanyId = companyId
     });
 }
 public IResult Delete(Company company)
 {
     _companyDal.Delete(company);
     return(new SuccessResult(CompanyMessage.CompanyDeletedSuccessfully));
 }
        public void Delete(int companyId)
        {
            var entity = _dal.Get(x => x.Id == companyId);

            _dal.Delete(entity);
        }
Exemple #4
0
 public IResult Delete(Company company)
 {
     _companyDal.Delete(company);
     return(new SuccessResult(Messages.DeletedCompany));
 }
 public IResult Delete(Company company)
 {
     _companyDal.Delete(company);
     return(new Result(true, Messages.Added));
 }
Exemple #6
0
        public IResult Delete(Company entity)
        {
            _companyDal.Delete(entity);

            return(new SuccessResult());
        }
Exemple #7
0
 /// <summary>
 /// 删除一条数据
 /// </summary>
 public void Delete(int ID)
 {
     dal.Delete(ID);
 }
Exemple #8
0
 public IResult Delete(Company company)
 {
     _companyDal.Delete(company);
     return(new SuccessResult(MagicStrings.CastDeleted));
 }
Exemple #9
0
 public void Delete(int Id)
 {
     _companyDal.Delete(Id);
 }
Exemple #10
0
 public void Delete(Company entity)
 {
     _companyDal.Delete(entity);
 }
Exemple #11
0
 public int Delete(int id)
 {
     return(_companyDal.Delete(new Company {
         Company_Id = id
     }));
 }
 public void Delete(int id)
 {
     _companyDal.Delete(new Company {
         ID = id
     });
 }
Exemple #13
0
 public IResult Delete(Company company)
 {
     //İş Kodları
     _companyDal.Delete(company);
     return(new SuccessResult(Messages.CompanyDeleted));
 }