aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Interfaces/ITechnologyService.cs
blob: 4f75dbe8d0da4a3ae025303dfbea506d83e67515 (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<CreateTechnologyServiceModel> GetTechnologyById(Guid id);
		HashSet<ReadTechnologyServiceModel> GetTechnologies();

		Task<bool> UpdateTechnology(UpdateTechnologyServiceModel updateTechnologyServiceModel);

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