Exemple #1
0
        public static cEditorResult Failed(IEnumerable<string> errors)
        {
            var result = new cEditorResult(false);
            result.Errors = errors;

            return result;
        }
Exemple #2
0
 public static cEditorResult Success()
 {
     var result = new cEditorResult(true);
     return result;
 }