public async Task <IActionResult> Delete(int id)
        {
            try
            {
                var res = await _dashboardManager.Delete(id);

                if (!res.Succeeded)
                {
                    ModelState.AddModelError(res.Property, res.Message);
                    return(View());
                }

                return(Ok());
            }
            catch
            {
                return(View());
            }
        }