public async Task <int> UpdatePeopleDetails(PeopleDetailsModel model)
 {
     try
     {
         _dbconnection.StoredProcedure = Constants.UpdatePeopleDetailsStoredProcedure;
         _dbconnection.Parameters      = model;
         return(await _dapperRepository.Execute(_dbconnection));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public async Task <ActionResult> UpdatePeopleDetails([FromBody] PeopleDetailsModel model)
        {
            var result = await _peopledirectoryservice.UpdatePeopleDetails(model);

            return(Json(new { success = true, response = result }));
        }