public async Task <IHttpActionResult> DeleteNation(string id)
        {
            Nation nation = _SVC.GetNation(id);

            if (nation == null)
            {
                return(NotFound());
            }

            await _SVC.DeleteNation(nation);

            return(Ok(nation));
        }
Exemplo n.º 2
0
 async public Task <ActionResult> Delete(string xID)
 {
     return(Content(await _Service.DeleteNation(_Service.GetNation(xID))));
 }