C# Class Api.Controllers.AuthController

Inheritance: Api.Controllers.ApiController
显示文件 Open project: os2indberetning/os2_app_webapi

Private Properties

Property Type Description
GetHash string

Public Methods

Method Description
AuthController ( IGenericRepository rateRepo, IGenericRepository authRepo ) : System
Post ( AuthRequestViewModel obj ) : IHttpActionResult

Private Methods

Method Description
GetHash ( string salt, string password ) : string

Method Details

AuthController() public method

public AuthController ( IGenericRepository rateRepo, IGenericRepository authRepo ) : System
rateRepo IGenericRepository
authRepo IGenericRepository
return System

Post() public method

public Post ( AuthRequestViewModel obj ) : IHttpActionResult
obj Api.Models.AuthRequestViewModel
return IHttpActionResult