14 lines
275 B
C#
14 lines
275 B
C#
using Microsoft.AspNetCore.Identity;
|
|
|
|
namespace JobMarket.Data.Repository.Abstract
|
|
{
|
|
public interface IRoleRepository
|
|
{
|
|
Task<IEnumerable<IdentityRole>> GetAll();
|
|
|
|
Task<IdentityRole> GetById(string id);
|
|
|
|
void Add(IdentityRole role);
|
|
}
|
|
}
|