skip to Main Content

ASP.NET Web API code uses which pattern – C#

I have the following code in my so called repository layer. public class EmployeeDetailsRepository : IEmployeeDetailsRepository { private readonly IDataAccess _dataAccess; public ILogger Logger { get; set; } public EmployeeDetailsRepository(IDataAccess dataAccess) { Logger = LoggerUtil.GetLogger("Data access repository"); } public EmployeeDetails…

VIEW QUESTION

Pass API response to another action – Asp.net

I have one API endpoint for login. Once we enter correct username and password then we are getting following details : { "accessToken": "Some_Value", "accessTokenExpireAt": "Some_Value", "refreshToken": "Some_Value", "userID": "Some_Value" } Once user click on Submit button then below code…

VIEW QUESTION
Back To Top
Search