using TIAMWebApp.Shared.Application.Models;

namespace TIAMWebApp.Server.ModelsTIAMWebApp.Shared.Application.Models
{
    public class ErrorResponse
    {
        public static MainResponse ReturnErrorResponse(string errorMessage)
        {
            return new MainResponse
            {
                ErrorMessage = errorMessage,
                IsSuccess = true
            };
        }
    }
}
