public static brand toBrand(this brandDTO b) { return(new brand() { id = b.id, name = b.name }); }
public static void Mapto5(this brand b, brandDTO b1) { b.id = b1.id; b.name = b1.name; }