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

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

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