Exemple #1
0
        public async Task <IActionResult> UpdateFootballEvent([FromBody] Football ev)
        {
            Football football = new Football();

            try
            {
                football = _footballRepository.Update(ev);

                return(Ok(football));
            }
            catch (Exception ex)
            {
                return(Ok(ex));
            }
        }