public ResponseEntity <Users> bulkinsert([FromBody] IEnumerable <Users> userdata, string _id) { try { _accountRepository.BuklkInsert(userdata); return(new ResponseEntity <Users> { Responsecode = 1, ResponseMessage = "Success!", Entity = null, EnityList = null }); } catch (Exception) { return(new ResponseEntity <Users> { Responsecode = 0, ResponseMessage = "Error during Inserting Bulk records!", Entity = null, EnityList = null }); } }