-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Added editor config and fixed up warnings (#63)
Added editor config and fixed up warnings
- Loading branch information
1 parent
6ab7cbe
commit 5e034b8
Showing
136 changed files
with
21,735 additions
and
20,514 deletions.
There are no files selected for viewing
9 changes: 4 additions & 5 deletions
9
Src/Application/Categories/Queries/GetCategoriesList/CategoriesListVm.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,9 +1,8 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Northwind.Application.Categories.Queries.GetCategoriesList | ||
namespace Northwind.Application.Categories.Queries.GetCategoriesList; | ||
|
||
public class CategoriesListVm | ||
{ | ||
public class CategoriesListVm | ||
{ | ||
public IList<CategoryLookupDto> Categories { get; set; } | ||
} | ||
public IList<CategoryLookupDto> Categories { get; set; } | ||
} |
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
7 changes: 3 additions & 4 deletions
7
Src/Application/Categories/Queries/GetCategoriesList/GetCategoriesListQuery.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,8 +1,7 @@ | ||
using MediatR; | ||
|
||
namespace Northwind.Application.Categories.Queries.GetCategoriesList | ||
namespace Northwind.Application.Categories.Queries.GetCategoriesList; | ||
|
||
public class GetCategoriesListQuery : IRequest<CategoriesListVm> | ||
{ | ||
public class GetCategoriesListQuery : IRequest<CategoriesListVm> | ||
{ | ||
} | ||
} |
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
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
11 changes: 5 additions & 6 deletions
11
Src/Application/Common/Exceptions/DeleteFailureException.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,11 @@ | ||
using System; | ||
|
||
namespace Northwind.Application.Common.Exceptions | ||
namespace Northwind.Application.Common.Exceptions; | ||
|
||
public class DeleteFailureException : Exception | ||
{ | ||
public class DeleteFailureException : Exception | ||
public DeleteFailureException(string name, object key, string message) | ||
: base($"Deletion of entity \"{name}\" ({key}) failed. {message}") | ||
{ | ||
public DeleteFailureException(string name, object key, string message) | ||
: base($"Deletion of entity \"{name}\" ({key}) failed. {message}") | ||
{ | ||
} | ||
} | ||
} |
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,11 @@ | ||
using System; | ||
|
||
namespace Northwind.Application.Common.Exceptions | ||
namespace Northwind.Application.Common.Exceptions; | ||
|
||
public class NotFoundException : Exception | ||
{ | ||
public class NotFoundException : Exception | ||
public NotFoundException(string name, object key) | ||
: base($"Entity \"{name}\" ({key}) was not found.") | ||
{ | ||
public NotFoundException(string name, object key) | ||
: base($"Entity \"{name}\" ({key}) was not found.") | ||
{ | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
using System.Collections.Generic; | ||
using Northwind.Application.Products.Queries.GetProductsFile; | ||
|
||
namespace Northwind.Application.Common.Interfaces | ||
namespace Northwind.Application.Common.Interfaces; | ||
|
||
public interface ICsvFileBuilder | ||
{ | ||
public interface ICsvFileBuilder | ||
{ | ||
byte[] BuildProductsFile(IEnumerable<ProductRecordDto> records); | ||
} | ||
byte[] BuildProductsFile(IEnumerable<ProductRecordDto> records); | ||
} |
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,7 +1,6 @@ | ||
namespace Northwind.Application.Common.Interfaces | ||
namespace Northwind.Application.Common.Interfaces; | ||
|
||
public interface ICurrentUserService | ||
{ | ||
public interface ICurrentUserService | ||
{ | ||
string GetUserId(); | ||
} | ||
string GetUserId(); | ||
} |
Oops, something went wrong.