Exemplo n.º 1
0
 /// <summary>
 /// Constructor which accepts the business logic as a parameter which is a dependency.
 /// This dependency is configured in the UnityConfig file inside RegisterTypes function
 /// This is in Business logic layer project inside ServiceLocation folder
 /// This is a file called UnityMvcActivator which is responsible to Start and Shutdown the DI
 /// Start will called when the application start
 /// Shutdown will called when the application stop
 /// </summary>
 /// <param name="businessLogic"></param>
 public BlobController(IBlobBL businessLogic)
 {
     _blobService = businessLogic;
 }