public bool UserRegistration(DataContracts.UserDetails userDetails) { StoredProcedureDataContext dbmlObject = new StoredProcedureDataContext(); dbmlObject.InsertUserDetails(userDetails.CompanyId, userDetails.FirstName, userDetails.LastName, userDetails.UserEmail, userDetails.IsOwner, userDetails.EncryptedPassword); dbmlObject.SubmitChanges(); return true; }
public bool UserRegistration(DataContracts.UserDetails userDetails) { StoredProcedureDataContext dbmlObject = new StoredProcedureDataContext(); dbmlObject.InsertUserDetails(userDetails.CompanyId, userDetails.FirstName, userDetails.LastName, userDetails.UserEmail, userDetails.IsOwner, userDetails.EncryptedPassword); dbmlObject.SubmitChanges(); return(true); }