C# Class Tigwi.API.Controllers.ApiController

Inheritance: Controller
Show file Open project: ismaelbelghiti/Tigwi

Protected Properties

Property Type Description
Storage IStorage

Protected Methods

Method Description
AccountsFromGuidCollection ( ICollection hashAccounts, int size, IStorage storage ) : Accounts
ApiController ( ) : System
Authorized ( System.Guid account ) : Authentication
HandleError ( Exception exception ) : Error
ListsFromGuidCollection ( ICollection hashLists, int size, IStorage storage ) : Lists
Serialize ( Answer output ) : System.Web.Mvc.ContentResult

Method Details

AccountsFromGuidCollection() protected static method

protected static AccountsFromGuidCollection ( ICollection hashAccounts, int size, IStorage storage ) : Accounts
hashAccounts ICollection
size int
storage IStorage
return Tigwi.API.Models.Accounts

ApiController() protected method

protected ApiController ( ) : System
return System

Authorized() protected method

protected Authorized ( System.Guid account ) : Authentication
account System.Guid
return Authentication

HandleError() protected method

protected HandleError ( Exception exception ) : Error
exception System.Exception
return Error

ListsFromGuidCollection() protected static method

protected static ListsFromGuidCollection ( ICollection hashLists, int size, IStorage storage ) : Lists
hashLists ICollection
size int
storage IStorage
return Lists

Serialize() protected method

protected Serialize ( Answer output ) : System.Web.Mvc.ContentResult
output Tigwi.API.Models.Answer
return System.Web.Mvc.ContentResult

Property Details

Storage protected property

protected IStorage Storage
return IStorage