public int Register(int id, string firstName, string lastName, string password, Address address, UserType userType, Source source, string createdBy, string createdOn, string voided, string voidedBy, string voidedOn, string reasonVoided, string Email, int CNIC, string Gender, Sect sect, GPSLOC gpsloc)
 {
     return new UserData().Register(new User() { ID = id, FirstName = firstName, LastName = lastName, Password = password, Address = address, UserType = userType, Source = source, CreatedBy = createdBy, CreatedOn = createdOn,  VoidedBy = voidedBy, VoidedOn = voidedOn, ReasonVoided = reasonVoided, Email = Email, CNIC = CNIC, Gender = Gender, Sect = sect, GPSLOC = gpsloc });
 }
 public int Update(UserType usertype)
 {
     return base.ExecuteNonQuery(string.Format("EXEC UserType_Update{0},'{1}'",usertype.ID,usertype.UserTypes);
 }