var result= GetEmployee(id);
var result= await GetEmployee(id);
without await called the method getting error like this.
after giving await issue resolved
since this is an async method, the return expression must be of type 'Data' rather than 'Task<Data>'
https://docs.microsoft.com/en-us/aspnet/core/security/authentication/samples?view=aspnetcore-6.0
https://code-maze.com/password-reset-aspnet-core-identity/
https://stackoverflow.com/questions/67087107/rest-api-hide-password-field-on-response
https://docs.microsoft.com/en-us/ef/ef6/modeling/designer/keyboard-shortcuts
No comments:
Post a Comment