Skip to content

Commit 5ef5cff

Browse files
committed
Fast bug fix - copyed request from publicAPI to client
1 parent 2a4367b commit 5ef5cff

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

src/EmailService.Client/HttpEmailSender.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using Newtonsoft.Json;
2-
using RTUITLab.EmailService.PublicAPI.Requests;
32
using System;
4-
using System.Collections.Generic;
53
using System.Net.Http;
64
using System.Text;
75
using System.Threading.Tasks;
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using System.ComponentModel.DataAnnotations;
2+
3+
namespace RTUITLab.EmailService.Client
4+
{
5+
public class SendEmailRequest
6+
{
7+
[Required]
8+
[EmailAddress]
9+
public string Email { get; set; }
10+
[Required]
11+
public string Subject { get; set; }
12+
[Required]
13+
public string Body { get; set; }
14+
}
15+
}

0 commit comments

Comments
 (0)