Exemple #1
0
 public IResult Delete(BodyType bodyType)
 {
     _bodyTypeDal.Delete(bodyType);
     return(new SuccessResult(Messages.BodyTypeDeleted));
 }
Exemple #2
0
 public IResult Delete(BodyType bodyType)
 {
     _bodyTypeDal.Delete(_bodyTypeDal.Get(c => c.Id == bodyType.Id));
     return(new SuccessResult(Messages.Deleted));
 }