Пример #1
0
        public static OperationResult CreateOpeartionResult(object data)
        {
            OperationResultType type = OperationResultType.Success;

            return(new OperationResult(type, type.ToDescription(), data));
        }
Пример #2
0
 public static OperationResult CreateOpeartionResult(OperationResultType type)
 {
     return(new OperationResult(type, type.ToDescription()));
 }