aboutsummaryrefslogtreecommitdiff
path: root/src/Data/DevHive.Data/Interfaces/ITechnologyRepository.cs
blob: 3e55b2deaf1fe9068b40e51c9dbe77bef9d950ad (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
{
	public interface ITechnologyRepository : IRepository<Technology>
	{
		Task<Technology> GetByNameAsync(string name);
		HashSet<Technology> GetTechnologies();

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