public void Delete(Part ent, User authority) { partDal.Delete(ent); LogManager.Log(new Log { LogDate = DateTime.Now, LogEvent = Log.EVENT_DELETE, LogMessage = authority.UserMail + " (" + authority.UserName + ") " + "Part silindi." }); }
public IResult Delete(Part part) { _partDal.Delete(part); return(new SuccessResult(Messages.PartDeleted)); }