public int NewAdmin(TimeSpan p_createdAt, TimeSpan p_modifiedAt, string p_alias, string p_email, String p_password) { AdminEN adminEN = null; int oid; //Initialized AdminEN adminEN = new AdminEN(); adminEN.CreatedAt = p_createdAt; adminEN.ModifiedAt = p_modifiedAt; adminEN.Alias = p_alias; adminEN.Email = p_email; adminEN.Password = Utils.Util.GetEncondeMD5(p_password); //Call to AdminCAD oid = _IAdminCAD.NewAdmin(adminEN); return(oid); }