public async Task <Enterprise> EditEnterpriseProfile(EditEnterpriseParameters enterprise) { try { var temp = await repo.EditEnterpriseProfile(enterprise); if (temp != null) { await unitOfWork.CompleteAsync(); } return(temp); } catch { return(null); } }