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

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

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