public int UpdateOtp(UserDetailsModel Obj) { ManagementObjectMapper objMapper = new ManagementObjectMapper(); UserDetailsEntity Entity = new UserDetailsEntity(); Entity = objMapper.MapUserRegistrationModelToUserRegistrationEntity(Obj); ServiceLayer.ManagementService ManObj = new ManagementService(); return(ManObj.UPDATEOTP(Entity)); }
public int InsertAddUserDetails(UserDetailsModel obj) { ManagementObjectMapper objMapper = new ManagementObjectMapper(); UserDetailsEntity Entity = new UserDetailsEntity(); Entity = objMapper.MapUserRegistrationModelToUserRegistrationEntity(obj); ServiceLayer.ManagementService ManObj = new ManagementService(); return(ManObj.InsertAddUserDetails(Entity)); }