Add a controler for "User" (add and authenticate)

This commit is contained in:
Sébastien André
2020-03-12 12:24:51 +01:00
parent 8a29fd7de9
commit 32a27b6d26
23 changed files with 225 additions and 34 deletions

View File

@@ -1,8 +1,8 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Generic;
using skydiveLogs_api.Model;
namespace skydiveLogs_api.Business.Interface
{
public interface IAircraftService

View File

@@ -1,6 +1,8 @@
using System.Collections.Generic;
using skydiveLogs_api.Model;
namespace skydiveLogs_api.Business.Interface
{
public interface IDropZoneService

View File

@@ -1,6 +1,8 @@
using System.Collections.Generic;
using skydiveLogs_api.Model;
namespace skydiveLogs_api.Business.Interface
{
public interface IGearService
@@ -11,8 +13,8 @@ namespace skydiveLogs_api.Business.Interface
void DeleteGearById(int id);
void UpdateGear(int id, Gear Gear);
void UpdateGear(int id, Gear gear);
void AddNewGear(Gear Gear);
void AddNewGear(Gear gear);
}
}

View File

@@ -1,8 +1,8 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Generic;
using skydiveLogs_api.Model;
namespace skydiveLogs_api.Business.Interface
{
public interface IJumpService

View File

@@ -1,7 +1,7 @@
using skydiveLogs_api.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Generic;
using skydiveLogs_api.Model;
namespace skydiveLogs_api.Business.Interface
{

View File

@@ -0,0 +1,11 @@
using skydiveLogs_api.Model;
namespace skydiveLogs_api.Business.Interface
{
public interface IUserService
{
User GetByLogin(string login, string password);
void AddNewUser(User user);
}
}