public void DeleteDashboardRetrowException()
        {
            var service = A.Fake <IDashboardService>();

            A.CallTo(() => service.Delete(A <int> ._)).Throws <Exception>();
            var controller = new DashboardController(service, Mapper, CurrentUserContext, OwnerTypeService);

            Assert.ThrowsAsync <Exception>(async() => await controller.DeleteDashboard(1));
        }