public async Task <ActionResult> Add(RepositoryCharge charge) { bool result = await repositoriesFactory .GetRespository() .Add(charge); if (result) { return(Ok()); } throw new Exception("FOR TODO"); }