unify few extra services
This commit is contained in:
parent
abfa14de23
commit
1d7e81c71d
|
|
@ -1,11 +1,10 @@
|
|||
using BlazorTemplater;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using NejAccountingAPI.Services.Email;
|
||||
using PuppeteerSharp;
|
||||
using NejCommon.Services.Email;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace NejAccountingAPI.Emails
|
||||
namespace NejCommon.Emails
|
||||
{
|
||||
public abstract class EmailBase<T1, T2> : ComponentBase where T1 : EmailBase<T1, T2>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@namespace NejAccountingAPI.Emails
|
||||
@namespace NejCommon.Emails
|
||||
|
||||
@inherits EmailBase<GeneralMessage, GeneralMessage.GeneralMessageData>
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
@namespace NejAccountingAPI.Emails
|
||||
@namespace NejCommon.Emails
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using System.Linq.Expressions;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace NejAccountingAPI.Models;
|
||||
namespace NejCommon.Models;
|
||||
|
||||
public class DateOnlyFrame
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System.Linq.Expressions;
|
||||
using NejCommon.Utils;
|
||||
|
||||
namespace NejAccountingAPI.Models;
|
||||
namespace NejCommon.Models;
|
||||
public class DateTimeFrame
|
||||
{
|
||||
public DateTimeFrame(){
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
using System.Net.Mail;
|
||||
using System.Reflection;
|
||||
using NejAccountingAPI.Emails;
|
||||
using NejCommon.Emails;
|
||||
|
||||
namespace NejAccountingAPI.Services.Email;
|
||||
namespace NejCommon.Services.Email;
|
||||
|
||||
public interface IEmailService
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ using MailKit.Net.Imap;
|
|||
using MailKit.Net.Smtp;
|
||||
using MimeKit;
|
||||
|
||||
namespace NejAccountingAPI.Services.Email;
|
||||
namespace NejCommon.Services.Email;
|
||||
|
||||
public class SMTPService : IEmailService
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user