public void Add(Part ent, User authority)
        {
            partDal.Add(ent);

            LogManager.Log(new Log
            {
                LogDate    = DateTime.Now,
                LogEvent   = Log.EVENT_CREATE,
                LogMessage = authority.UserMail + " (" + authority.UserName + ") " + "Part güncellendi."
            });
        }
 public IResult Add(Part part)
 {
     _partDal.Add(part);
     return(new SuccessResult(Messages.PartAdded));
 }