We have a person model with one field Occupation which is a Enum, its throwing error in swagger and , if I change to string ,no error.is there any way I can use the enum as model field and apply required field validation that, user can only enter the values matching to the enum...
How to declare a Global connectionstring? how to declare public variable in ASP.net application How to declare string variable for date of birth format How to delete a column from a Datarow how to delete a row from grid view without deleting database How to delete duplicate records from dat...
s implementation, and “injectable” because through the use of some decorators, you’ll make the service known to Angular, so that those components that wish to use it simply have to declare it as a parameter (similar to how the@Input/@Outputdecorators worked earlier) and lo, they will ...
Add and Edit Records in json file in mvc5 Add and remove partial views Add aspx page to MVC application Add css class to PagedListPager html helper Add custom parameter into every query string using MVC action filter Add DataAnnotations attributes at runtime in mvc3 Ad...
s implementation, and “injectable” because through the use of some decorators, you’ll make the service known to Angular, so that those components that wish to use it simply have to declare it as a parameter (similar to how the @Input/@Output decorators worked earlier...
Add Embedded Image to Body of Email Add empty row to Datagridview Add EncodingType to Nonce element on SOAP Message (WS-Security) Add fonts to resources file Add hexidecimal character to a string Add IList to IList Add Images to Datagrid...
In the app's registration screen, select theExpose an APIblade to the left to open the page where you can publish the permission as an API for which client applications can obtainaccess tokensfor. The first thing that we need to do is to declare th...
[Beginner] Create a model class field containing a list of objects from another table with ASP.NET MVC [CORE MVC] How to get parent controller name in a partial view? [Critical Question] Can mvc's controller method be concurrently executed in one page?? [DataType(DataType.EmailAddress)] ...
Add empty row to Datagridview Add EncodingType to Nonce element on SOAP Message (WS-Security) Add fonts to resources file Add hexidecimal character to a string Add IList to IList Add Images to DatagridView Cell Add months to GETDATE() function in sql server Add new row to datagridview one...
How to declare an array as global variable in ASP.net (C#.net) how to declare global variable in page in vb.net How to default a checkbox to being checked How to Delete all Data in a sql Table Using C# how to delete cookies on browser close ? How to Delete empty record form Data...