public async Task <Tuple <bool, string, Franchise> > InsertorUpdateFranchiseDetails(Franchise obj) { Tuple <bool, string, Franchise> result = null; try { result = await _repo.InsertorUpdateFranchiseDetails(obj); } catch (Exception ex) { ErrorLog.Write(ex); } return(result); }