Added authentication and authorization, updated dependency injections, removed hard-coded connection string
This commit is contained in:
		
							
								
								
									
										10
									
								
								SchengenVisaApi/Infrastructure/Common/DateTimeProvider.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								SchengenVisaApi/Infrastructure/Common/DateTimeProvider.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| using ApplicationLayer.GeneralNeededServices; | ||||
|  | ||||
| namespace Infrastructure.Common | ||||
| { | ||||
|     /// Implements <see cref="IDateTimeProvider"/> | ||||
|     public class DateTimeProvider : IDateTimeProvider | ||||
|     { | ||||
|         DateTime IDateTimeProvider.Now() => DateTime.Now; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user