Implementing UserService and Required Models for Admin Profile View - ASP.NET CORE 3 | Angular 10

preview_player
Показать описание
In this video tutorial we we start working on the Admin Profile View. We will create the UserService Project to manage all the Actions related to Users in our CMS Application.

We will Create the AddUserModel, ProfileModel, SiteSettingsModel, DashboardModel, SmtpOptions and SendGridOptions Model Classes.

----Video Number : 26
----BLOG

======FOR SOURCE CODE USE ANY OF THE FOLLOWING REPO LINKS=====
***SOURCE CODE DEV OPS REPO***
***SOURCE CODE GITHUB LINK***

Document from Microsoft to understanding DataAnnotations in detail

**Some Attributes that we have used
Required – Indicates that the property is a required field
DisplayName – Defines the text we want used on form fields and validation messages
StringLength – Defines a maximum length for a string field
Range – Gives a maximum and minimum value for a numeric field
Рекомендации по теме
Комментарии
Автор

There is "userId" parameter in GetUserProfileByIdAsync method, but you don't use it.

denisabdullabekov