Auto clean code
This commit is contained in:
@@ -1,20 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using skydiveLogs_api.Domain;
|
||||
|
||||
using skydiveLogs_api.Domain;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.DomainBusiness.Interfaces
|
||||
{
|
||||
public interface IAircraftService
|
||||
{
|
||||
IEnumerable<Aircraft> GetAllAircrafts();
|
||||
|
||||
Aircraft GetAircraftById(int id);
|
||||
#region Public Methods
|
||||
|
||||
void AddNewAircraft(Aircraft aircraft);
|
||||
|
||||
void DeleteAircraftById(int id);
|
||||
|
||||
Aircraft GetAircraftById(int id);
|
||||
|
||||
IEnumerable<Aircraft> GetAllAircrafts();
|
||||
|
||||
void UpdateAircraft(int id, Aircraft aircraft);
|
||||
|
||||
void DeleteAircraftById(int id);
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,10 @@ namespace skydiveLogs_api.DomainBusiness.Interfaces
|
||||
{
|
||||
public interface IIdentityService
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
User ConnectedUser { get; }
|
||||
|
||||
#endregion Public Properties
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,10 @@
|
||||
{
|
||||
public interface IInitDbService
|
||||
{
|
||||
#region Public Methods
|
||||
|
||||
public void GenerateDb();
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using skydiveLogs_api.Domain;
|
||||
using skydiveLogs_api.Domain;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.DomainBusiness.Interfaces
|
||||
{
|
||||
|
||||
@@ -1,20 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using skydiveLogs_api.Domain;
|
||||
|
||||
using skydiveLogs_api.Domain;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.DomainBusiness.Interfaces
|
||||
{
|
||||
public interface IJumpTypeService
|
||||
{
|
||||
#region Public Methods
|
||||
|
||||
void AddNewJumpType(JumpType value);
|
||||
|
||||
void DeleteJumpTypeById(int id);
|
||||
|
||||
IEnumerable<JumpType> GetAllJumpTypes();
|
||||
|
||||
JumpType GetJumpTypeById(int id);
|
||||
|
||||
void AddNewJumpType(JumpType value);
|
||||
|
||||
void UpdateJumpType(int id, JumpType value);
|
||||
|
||||
void DeleteJumpTypeById(int id);
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using skydiveLogs_api.Domain;
|
||||
using skydiveLogs_api.Domain;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.DomainBusiness.Interfaces
|
||||
{
|
||||
|
||||
@@ -4,10 +4,14 @@ namespace skydiveLogs_api.DomainBusiness.Interfaces
|
||||
{
|
||||
public interface IUserService
|
||||
{
|
||||
User GetByLogin(string login, string password);
|
||||
#region Public Methods
|
||||
|
||||
bool AddNewUser(User user, bool isAdmin = false);
|
||||
|
||||
User GetById(int userId);
|
||||
|
||||
bool AddNewUser(User user, bool isAdmin = false);
|
||||
User GetByLogin(string login, string password);
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
using skydiveLogs_api.Domain;
|
||||
using skydiveLogs_api.DomainBusiness.Interfaces;
|
||||
using skydiveLogs_api.DomainService.Repositories;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.DomainBusiness
|
||||
|
||||
Reference in New Issue
Block a user