Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Data / Interfaces / ITechnologyRepository.cs
blob: d0de0961544a29c60584b316933f4507c4f15e88 (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 ITechnologyRepository : IRepository<Technology>
	{
		Task<bool> DoesTechnologyExistAsync(Guid id);
		Task<bool> DoesTechnologyNameExistAsync(string technologyName);
		Task<Technology> GetByNameAsync(string name);
	}
}