public int DeleteCountry(int Id)
 {
     _countryDal.Delete(new Country {
         Id = Id
     });
     return(Id);
 }
Example #2
0
 public IResult Delete(int countryId)
 {
     _countryDal.Delete(new Country {
         Id = countryId
     });
     return(new SuccessResult());
 }
 public void Delete(Country entity)
 {
     _CountryDal.Delete(entity);
 }
Example #4
0
 public void Delete(int id)
 {
     _countryDal.Delete(new Country {
         ID = id
     });
 }
Example #5
0
 public IResult Delete(Country country)
 {
     _countryDal.Delete(country);
     return(new SuccessResult());
 }
 public IResult Delete(Country country)
 {
     _countryDal.Delete(country);
     return(new SuccessResult(BusinessMessages.CountryDeleted));
 }
Example #7
0
 public IResult Delete(Country cast)
 {
     _countryDal.Delete(cast);
     return(new SuccessResult(MagicStrings.CastDeleted));
 }