public OperationResult Update(UpdateSALES_FAVFOLDERModel model)
        {
            var entity = SALES_FAVFOLDERList.First(t => t.ID == model.ID);

            entity.ID         = model.ID;
            entity.FolderName = model.FolderName;
            entity.CustomerID = model.CustomerID;
            entity.ContactID  = model.ContactID;
            entity.Creator    = model.Creator;
            entity.Modifier   = model.Modifier;
            entity.CreateDate = model.CreateDate;
            entity.ModiDate   = model.ModiDate;
            entity.Status     = model.Status;

            SALES_FAVFOLDERRepository.Update(entity);
            return(new OperationResult(OperationResultType.Success, "update completed"));
        }
 public int Update(SALES_FAVFOLDER model)
 {
     return(SALES_FAVFOLDERRepository.Update(model));
 }