-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70d0383
commit e5bb1b7
Showing
14 changed files
with
29 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Exam.StockManagement.API/Controllers/Identity/AuthController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Exam.StockManagement.Application/Abstractions/IServices/IAuthService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
Exam.StockManagement.Application/Abstractions/IServices/ICategoryService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Exam.StockManagement.Domain.Entities.Models; | ||
|
||
namespace Exam.StockManagement.Application.Abstractions.IServices | ||
{ | ||
public interface ICategoryService | ||
{ | ||
public Task<string> Create(); | ||
public Task<List<Category>> GetAll(); | ||
public Task<string> Update(); | ||
public Task<string> Delete(); | ||
} | ||
} |
20 changes: 4 additions & 16 deletions
20
Exam.StockManagement.Application/Abstractions/IServices/IProductService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,12 @@ | ||
using Exam.StockManagement.Domain.Entities.DTOs; | ||
using Exam.StockManagement.Domain.Entities.Models; | ||
using Exam.StockManagement.Domain.Entities.ViewModels; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Linq.Expressions; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Exam.StockManagement.Application.Abstractions.IServices | ||
{ | ||
public interface IProductService | ||
{ | ||
public Task<Product> Create(ProductDTO userDTO); | ||
public Task<Product> GetByName(string name); | ||
public Task<Product> GetById(int Id); | ||
public Task<Product> GetByEmail(string email); | ||
public Task<Product> GetByLogin(string email); | ||
public Task<IEnumerable<ProductViewModel>> GetAll(); | ||
public Task<bool> Delete(Expression<Func<Product, bool>> expression); | ||
public Task<Product> Update(int Id, ProductDTO userDTO); | ||
public Task<string> Create(); | ||
public Task<List<Category>> GetAll(); | ||
public Task<string> Update(); | ||
public Task<string> Delete(); | ||
} | ||
} |
10 changes: 5 additions & 5 deletions
10
Exam.StockManagement.Application/Abstractions/IServices/IStatsService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Exam.StockManagement.Domain.Entities.Models; | ||
|
||
namespace Exam.StockManagement.Application.Abstractions.IServices | ||
{ | ||
public interface IStatsService | ||
{ | ||
public Task<string> Create(); | ||
public Task<List<Category>> GetAll(); | ||
public Task<string> Update(); | ||
public Task<string> Delete(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...gement.Domain/Entities/DTOs/CheckEmail.cs → ...t.Domain/Entities/DTOs/Auth/CheckEmail.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ent.Domain/Entities/DTOs/RegisterLogin.cs → ...omain/Entities/DTOs/Auth/RegisterLogin.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ment.Domain/Entities/DTOs/RequestLogin.cs → ...Domain/Entities/DTOs/Auth/RequestLogin.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ent.Domain/Entities/DTOs/RequestSignUp.cs → ...omain/Entities/DTOs/Auth/RequestSignUp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ent.Domain/Entities/DTOs/ResponseLogin.cs → ...omain/Entities/DTOs/Auth/ResponseLogin.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters