August 2017
Intermediate to advanced
330 pages
7h 26m
English
Create a new Class Library project with the name of your application, and then create .Business, as follows:

Have the folder structure for it as well.
This is the interface for IDataStoreManager:
namespace Puhoi.Business.Interfaces
{
public interface IStoreManager
{
HttpModelResult Add(BaseModel model);
HttpModelResult Update(BaseModel model, Guid id);
HttpModelResult Get(Guid id);
HttpModelResult Delete(Guid id);
HttpModelResult GetAll();
}
}
You need a reference to the models projects and add a reference to System.Web.
Note that we are returning HttpStatusCode. One might argue why business references System.Web, and in the older ...