Constructor in Controllers by Dependency injection, add AutoFac
remove unnecessary parameters from Controllers
WebApi from empty project, add AutoFac.WebApi, SandwichController
use AutoFac.WebApi
Session.SaveChanges by filter in SandwichController
Post in SandwichController with Json argument
Delete, Put and Patch methods in SandwichController
set HttpStatusCode by Exception type in controller
error message in controllers as json
add OrderController and EmployeeController
add filters for EmployeeController
add Indexes, filters only for BaseController
add ListingSandwichesController, OrderSummaryController, SandwichSummaryController and TotalAmountController
clean up
fixes in put methods
set NotFoundException in Controllers
register filters by generic types
rename method SetHttpStatusCode
remove BaseController
Merge pull request #16 from ela-compil/WebApi

Web api