Exemplo n.º 1
0
        public static OperationResult CreateOpeartionResult(object data)
        {
            OperationResultType type = OperationResultType.Success;

            return(new OperationResult(type, type.ToDescription(), data));
        }
Exemplo n.º 2
0
 public static OperationResult CreateOpeartionResult(OperationResultType type)
 {
     return(new OperationResult(type, type.ToDescription()));
 }