public static int? NullableInt(string str)
{
int i;
if (int.TryParse(str, out i))
return i;
return null;
}
{
int i;
if (int.TryParse(str, out i))
return i;
return null;
}
ASP.NET is a development framework for building web pages and web sites with HTML, CSS, JavaScript and server scripting. ASP.NET supports three different development models: Web Pages, MVC (Model View Controller), and Web Forms.
Create Solution like below LoginModel.cs using System.ComponentModel.DataAnnotations; namespace UsingAuthorizationWithSwagger.Models { ...
No comments:
Post a Comment