C# 클래스 HomeController, code

상속: Controller
파일 보기 프로젝트 열기: shendongnian/code 1 사용 예제들

공개 메소드들

메소드 설명
GetUserId ( ) : int
HideQueryString ( ) : ActionResult
HomeController ( )
HomeController ( ApplicationDbContext context )
HomeController ( DataContext context, IRepository repo )
HomeController ( IConfiguration config )
HomeController ( IDataAccess dataAccess )
HomeController ( IMemoryCache memoryCache )
HomeController ( IPlatformRepository platformRepository, IDeviceRepository deviceRepository )
HomeController ( IService one, IService two, IService three )
HomeController ( MySpecialClassWithDependencies mySpecialClassWithDependencies )
HomeController ( TimeHub timeHub )
Index ( ) : ActionResult
Index ( ) : IActionResult
Index ( ) : Task
Index ( ) : Task
Index12 ( int? id ) : ActionResult
Picload ( IFormFile file ) : Task
Print ( string location, string startDate, string endDate ) : ActionResult
Redirect ( decimal width, decimal height ) : IActionResult
ToIndex ( ) : ActionResult
Tut116 ( ) : ActionResult
Tut142 ( ) : ActionResult
Tut143 ( ) : ActionResult
UploadFile ( ) : ActionResult
UserService ( IHttpContextAccessor httpContextAccessor )

비공개 메소드들

메소드 설명
Example ( TestModel model ) : IActionResult
ForAdminAndManager ( ) : Task
ForAdminAndManager1 ( ) : Task
ForAdminAndManager2 ( ) : Task
ForAdminOnly ( ) : Task
ForEveryone ( ) : Task
ForWriterOnly ( ) : Task
Index ( Guid accountId, int permission, int id ) : ActionResult
Index ( TblEmployee employee ) : ActionResult
Index12 ( ) : ActionResult
MyIndex ( UserLogViewModel log ) : ActionResult
UploadFile ( MyModal Modal ) : ActionResult

메소드 상세

GetUserId() 공개 메소드

public GetUserId ( ) : int
리턴 int

HideQueryString() 공개 메소드

public HideQueryString ( ) : ActionResult
리턴 ActionResult

HomeController() 공개 메소드

public HomeController ( )

HomeController() 공개 메소드

public HomeController ( ApplicationDbContext context )
context ApplicationDbContext

HomeController() 공개 메소드

public HomeController ( DataContext context, IRepository repo )
context DataContext
repo IRepository

HomeController() 공개 메소드

public HomeController ( IConfiguration config )
config IConfiguration

HomeController() 공개 메소드

public HomeController ( IDataAccess dataAccess )
dataAccess IDataAccess

HomeController() 공개 메소드

public HomeController ( IMemoryCache memoryCache )
memoryCache IMemoryCache

HomeController() 공개 메소드

public HomeController ( IPlatformRepository platformRepository, IDeviceRepository deviceRepository )
platformRepository IPlatformRepository
deviceRepository IDeviceRepository

HomeController() 공개 메소드

public HomeController ( IService one, IService two, IService three )
one IService
two IService
three IService

HomeController() 공개 메소드

public HomeController ( MySpecialClassWithDependencies mySpecialClassWithDependencies )
mySpecialClassWithDependencies MySpecialClassWithDependencies

HomeController() 공개 메소드

public HomeController ( TimeHub timeHub )
timeHub TimeHub

Index() 공개 메소드

public Index ( ) : ActionResult
리턴 ActionResult

Index() 공개 메소드

public Index ( ) : IActionResult
리턴 IActionResult

Index() 공개 메소드

public Index ( ) : Task
리턴 Task

Index() 공개 메소드

public Index ( ) : Task
리턴 Task

Index12() 공개 메소드

public Index12 ( int? id ) : ActionResult
id int?
리턴 ActionResult

Picload() 공개 메소드

public Picload ( IFormFile file ) : Task
file IFormFile
리턴 Task

Print() 공개 메소드

public Print ( string location, string startDate, string endDate ) : ActionResult
location string
startDate string
endDate string
리턴 ActionResult

Redirect() 공개 메소드

public Redirect ( decimal width, decimal height ) : IActionResult
width decimal
height decimal
리턴 IActionResult

ToIndex() 공개 메소드

public ToIndex ( ) : ActionResult
리턴 ActionResult

Tut116() 공개 메소드

public Tut116 ( ) : ActionResult
리턴 ActionResult

Tut142() 공개 메소드

public Tut142 ( ) : ActionResult
리턴 ActionResult

Tut143() 공개 메소드

public Tut143 ( ) : ActionResult
리턴 ActionResult

UploadFile() 공개 메소드

public UploadFile ( ) : ActionResult
리턴 ActionResult

UserService() 공개 메소드

public UserService ( IHttpContextAccessor httpContextAccessor )
httpContextAccessor IHttpContextAccessor