public void AddNewProject(string uniqueFileName, string userId) { try { var company = _officeManagementService.GetCompanyByUserId(userId); _projectManagementService.AddNewProject(new Project { Name = this.Name, Description = this.Description, DemoAccount = this.DemoAccount, ImageUrl = uniqueFileName, CompanyId = company.Id }); Notification = new NotificationModel("success", "Project Added Successfully", NotificationType.Success); } catch (Exception) { Notification = new NotificationModel("Failed", "Failed to Project Add", NotificationType.Fail); } }