Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MethodResult<T>
- {
- public bool Success { get; set; }
- public T Result { get; set; }
- public readonly List<Error> Errors = new List<Error>();
- public bool HasErrors
- {
- get
- {
- return Errors.Count != 0;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement