move from Yavsc
This commit is contained in:
7
Yavsc.Abstract/Interfaces/IBankInterface.cs
Normal file
7
Yavsc.Abstract/Interfaces/IBankInterface.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace Yavsc.Services
|
||||
{
|
||||
public interface IBankInterface
|
||||
{
|
||||
|
||||
}
|
||||
}
|
27
Yavsc.Abstract/Interfaces/IBillingService.cs
Normal file
27
Yavsc.Abstract/Interfaces/IBillingService.cs
Normal file
@ -0,0 +1,27 @@
|
||||
namespace Yavsc.Services
|
||||
{
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Yavsc.Abstract.Workflow;
|
||||
|
||||
public interface IBillingService
|
||||
{
|
||||
/// <summary>
|
||||
/// Renvoye la facture associée à une clé de facturation:
|
||||
/// le couple suivant :
|
||||
///
|
||||
/// * un code de facturation
|
||||
/// (identifiant associé à un type de facturation d'un flux de travail)
|
||||
/// * un entier long identifiant la demande du client
|
||||
/// (à une demande, on associe au maximum une seule facture)
|
||||
/// </summary>
|
||||
/// <param name="billingCode">Identifiant du type de facturation</param>
|
||||
/// <param name="queryId">Identifiant de la demande du client</param>
|
||||
/// <returns>La facture</returns>
|
||||
Task<INominativeQuery> GetBillAsync(string billingCode, long queryId);
|
||||
Task<IQueryable<ISpecializationSettings>> GetPerformersSettingsAsync(string activityCode);
|
||||
|
||||
Task<ISpecializationSettings> GetPerformerSettingsAsync(string activityCode, string userId);
|
||||
|
||||
}
|
||||
}
|
10
Yavsc.Abstract/Interfaces/IEmailSender.cs
Normal file
10
Yavsc.Abstract/Interfaces/IEmailSender.cs
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yavsc.Services
|
||||
{
|
||||
public interface IEmailSender
|
||||
{
|
||||
Task<bool> SendEmailAsync(string username, string email, string subject, string message);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user