public async Task <IActionResult> UpsertSpecifications(IEnumerable <Specification> specifications) { return(await ExecuteRepositoryAction(() => _specRepository.UpsertSpecifications(specifications), $"Save specifications failed for specifications:'{specifications.AsJson()}'")); }