C# Class ASP.NET_Core_SPAs.API.ContactsApiController

Inheritance: Microsoft.AspNetCore.Mvc.Controller
Show file Open project: elanderson/ASP.NET-Core-SPAs

Public Methods

Method Description
ContactsApiController ( UserManager userManager, ContactsDbContext context ) : System.Collections.Generic

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ContactExists ( int id ) : bool
DeleteContact ( [ id ) : Task
GetAllContacts ( ) : Task>
GetContact ( [ id ) : Task
GetContacts ( ) : IQueryable
PostContact ( [ contact ) : Task
PutContact ( [ id, [ contact ) : Task

Method Details

ContactsApiController() public method

public ContactsApiController ( UserManager userManager, ContactsDbContext context ) : System.Collections.Generic
userManager UserManager
context ASP.NET_Core_SPAs.Contexts.ContactsDbContext
return System.Collections.Generic

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void