aboutsummaryrefslogtreecommitdiff
path: root/src/Data/DevHive.Data/Interfaces/ITechnologyRepository.cs
blob: 91c82ead951647c3bd2f9502b323a063ce19e82f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DevHive.Data.Models;

namespace DevHive.Data.Interfaces
{
	public interface ITechnologyRepository : IRepository<Technology>
	{
		Task<Technology> GetByNameAsync(string technologyName);
		HashSet<Technology> GetTechnologies();

		Task<bool> DoesTechnologyExistAsync(Guid id);
		Task<bool> DoesTechnologyNameExistAsync(string technologyName);
	}
}