aboutsummaryrefslogtreecommitdiff
path: root/src/Services/DevHive.Services/Interfaces/ITechnologyService.cs
blob: 8f9510ca859631ca8f69dff4c37de3ffe1c2dc09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DevHive.Services.Models.Technology;

namespace DevHive.Services.Interfaces
{
	public interface ITechnologyService
	{
		Task<Guid> CreateTechnology(CreateTechnologyServiceModel technologyServiceModel);

		Task<ReadTechnologyServiceModel> GetTechnologyById(Guid id);
		HashSet<ReadTechnologyServiceModel> GetTechnologies();

		Task<bool> UpdateTechnology(UpdateTechnologyServiceModel updateTechnologyServiceModel);

		Task<bool> DeleteTechnology(Guid id);
	}
}