2024-05-15 15:28:34 +03:00

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);
}
}