Skip to content

.net project (company)#38

Open
ShivaniBansal1 wants to merge 13 commits into
cybergroupdevs:masterfrom
ShivaniBansal1:company
Open

.net project (company)#38
ShivaniBansal1 wants to merge 13 commits into
cybergroupdevs:masterfrom
ShivaniBansal1:company

Conversation

@ShivaniBansal1

Copy link
Copy Markdown
Contributor

No description provided.


// var obj = {
// firstName: 'Himanshu',
// lastName: "Bansal",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove commented code

public ActionResult<IEnumerable<string>> Get()
{
return new string[] { "value1", "value2" };
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove unused controller

{
//public IActionResult Post([FromBody ] LoginModel enteredDetails)
//{
// Login login = new Login(enteredDetails);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove commented code

{

//IRegister _reg;
//public SignupController(IRegister reg)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove commented code

return new string[] { "value1", "value2" };
}

// GET api/values/5

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove unused controller

UsersInfo user = login.loginHandler();
return user;


Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refrain from using so many new lines

{
if (!optionsBuilder.IsConfigured)
{
#warning To protect potentially sensitive information in your connection string, you should move it out of source code. See http://go.microsoft.com/fwlink/?LinkId=723263 for guidance on storing connection strings.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#warning To protect potentially sensitive information in your connection string, you should move it out of source code. See http://go.microsoft.com/fwlink/?LinkId=723263 for guidance on storing connection strings.
Please go through this Blog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants