public void CreateFormsCategoryApplication() { CreateNewCategory.ClickOn(); //CreateNewCategory.ClickOn(); CategoryName.SendKeys(Constant.CategoryName); SaveCategory.ClickOn(); softAssert.VerifyElementHasEqual(utility.TableCount(formsCategoryTableCount), Constant.tmpTableCount + 1); }
public async Task <IActionResult> CreateCategory(CreateNewCategory command) { return(Created("", await _mediator.Send(command))); }