aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Interfaces/ILanguageRepository.cs
blob: 0612116424e26848bd36cf5a9b769248305976a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Threading.Tasks;
using DevHive.Data.Models;
using DevHive.Data.Repositories.Interfaces;

namespace DevHive.Data.Interfaces
{
	public interface ILanguageRepository : IRepository<Language>
	{
		Task<bool> DoesLanguageExistAsync(Guid id);
		Task<bool> DoesLanguageNameExistAsync(string languageName);
		Task<Language> GetByNameAsync(string name);
	}
}