예제 #1
0
 public bool DeleteTemplateField(TemplateField templateFields)
 {
     if (templateFields == null) return false;
     _unitOfWork.TemplateFieldRepository.Delete(templateFields);
     _unitOfWork.Save();
     return true;
 }
예제 #2
0
 public bool EditTemplateField(TemplateField templateFields)
 {
     _unitOfWork.TemplateFieldRepository.Edit(templateFields);
     _unitOfWork.Save();
     return true;
 }