Skip to content

Instantly share code, notes, and snippets.

View mohammad-taheri1's full-sized avatar

Mohammad Taheri mohammad-taheri1

View GitHub Profile
namespace Backend.Application.Common;
public class OperationResult<TResult> : IOperationResult
{
public TResult? Result { get; set; }
public bool IsSuccess { get; set; }
public bool IsNotFound { get; set; }
public List<KeyValuePair<string, string>> ErrorMessages { get; set; } = new();