public async Task <IActionResult> Get(Guid id) { var theme = await Task.Run(() => _themeFacade.GetForAdmin(id)); if (theme == null) { return(NotFound()); } return(Ok(theme)); }
public IActionResult AdminEdit(Guid id) { var model = _themeFacade.GetForAdmin(id); if (model == null) { return(NotFound()); } return(Ok(model)); }