Exemple #1
0
        public static OperationResult CreateOpeartionResult(object data)
        {
            OperationResultType type = OperationResultType.Success;

            return(new OperationResult(type, type.ToDescription(), data));
        }
Exemple #2
0
 public static OperationResult CreateOpeartionResult(OperationResultType type)
 {
     return(new OperationResult(type, type.ToDescription()));
 }