/// <summary> /// Create a new instance of Log4net controller /// </summary> /// <param name="service">Service dependency</param> public Log4netController(ILog4netAppService service) { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } //_unitOfWork = unitOfWork; _serviceLog4net = service; }
/// <summary> /// Create a new instance of Log4net viewmodel /// </summary> /// <param name="service">Service dependency</param> public Log4netCrudViewModel(ILog4netAppService service) : this() { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } _serviceLog4net = service; BuildVm(); }