示例#1
0
 public bool AttachmentInsert(AttachmentModel model)
 {
     try
     {
         _db.SP_SYS_ATTACHMENT_INSERT(model.ModuleId, model.MasterId, model.Name, model.Path, model.Type, model.Size);
         return(true);
     }
     catch (Exception ex)
     {
         LogHelper.Error("CommonRepository: AttachmentInsert: " + ex.Message + " Exception: " + ex.InnerException.Message);
         return(false);
     }
 }