Refactored Test email service to provide the error message if it fails to the end user. (#1051)

This commit is contained in:
Joseph Milazzo 2022-02-09 07:14:51 -08:00 committed by GitHub
parent 9ce0aa39ce
commit edbb985405
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 50 additions and 21 deletions

View file

@ -0,0 +1,10 @@
namespace API.DTOs.Email;
/// <summary>
/// Represents if Test Email Service URL was successful or not and if any error occured
/// </summary>
public class EmailTestResultDto
{
public bool Successful { get; set; }
public string ErrorMessage { get; set; }
}