Did you know that you can inject any object in the Configure method of your startup class? For example if you want to inject ICustomer.
Monthly Archives: June 2021
Date and time arithmetics
One of our developer wrote this code He is combining the date and time but in a clumsy way. What he’s doing is composing a string then convert it to DateTime. A lot of junior developers do this way for some reasons. What a lot of developers tend to forget is that using date and …