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