public EditorialesController(IEditorialService editorialService) { _editorialService = editorialService; }
/// <summary> /// Initializes editorial /// </summary> /// <param name="editorialService"></param> public EditorialController(IEditorialService editorialService) { this.editorialService = editorialService; }
public EditorialesController(IEditorialService service) { _service = service; }
public EditorialServiceMoq() { Mock <IEditorialService> _authorRepository = new EditorialRepositoryMoq().__editorialRepository; _editorialService = new EditorialService(_asyncRepository); }