hello all,
I am currently using the following to store collection of objects in session. Please,is there a more efficient and maintainable way of achieving this.
public class ProfileEditBranch
{
public string BranchName { get; set; }
public string HouseNo { get; set; }
public string StreetName { get; set; }
public string Country { get; set; }
public string City { get; set; }
public string Flag { get; set; }
public string BranchID { get; set; }
public string OwnerPlatFormID { get; set; }
public string NewContactType { get; set; }
public static List<ProfileEditBranch> NewBranchDetails
{
get
{
return HttpContext.Current.Session["NewBranchDetails"] as List<ProfileEditBranch> ?? new
List<ProfileEditBranch>();
}
set { ...
Go to the complete details ...