added a notes file for important running stuff
Create working for tenant and added in efcore and data layer
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Emergence.services.Interface
|
||||
{
|
||||
public interface IService<T, I> where T : class
|
||||
{
|
||||
public Task<IEnumerable<T>> GetAllAsync();
|
||||
public Task<T> GetByIdAsync(I id);
|
||||
|
||||
public Task<T> CreateAsync(T tenant);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using Emergence.models;
|
||||
|
||||
namespace Emergence.services.Interface
|
||||
{
|
||||
public interface ITenantService : IService<TenantModel, Guid>
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user