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); }
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)); }
public IResult Delete(Company entity) { _companyDal.Delete(entity); return(new SuccessResult()); }
/// <summary> /// 删除一条数据 /// </summary> public void Delete(int ID) { dal.Delete(ID); }
public IResult Delete(Company company) { _companyDal.Delete(company); return(new SuccessResult(MagicStrings.CastDeleted)); }
public void Delete(int Id) { _companyDal.Delete(Id); }
public void Delete(Company entity) { _companyDal.Delete(entity); }
public int Delete(int id) { return(_companyDal.Delete(new Company { Company_Id = id })); }
public void Delete(int id) { _companyDal.Delete(new Company { ID = id }); }
public IResult Delete(Company company) { //İş Kodları _companyDal.Delete(company); return(new SuccessResult(Messages.CompanyDeleted)); }