public Role CreateRole(RoleBean bean) { Role beanBack = new Role(); beanBack.RoleId = bean.RoleId; beanBack.Name = bean.Name; beanBack.Deleted = bean.Deleted; beanBack.Description = bean.Description; beanBack.CreateDateTime = bean.CreateDateTime; beanBack.CreateBy = bean.CreateBy; beanBack.UpdateDatetime = bean.UpdateDatetime; beanBack.UpdateBy = bean.UpdateBy; return(beanBack); }
public Role CreateRole(RoleBean bean) { Role beanBack = new Role(); beanBack.RoleId = bean.RoleId; beanBack.Name = bean.Name; beanBack.Deleted = bean.Deleted; beanBack.Description = bean.Description; beanBack.CreateDateTime = bean.CreateDateTime; beanBack.CreateBy = bean.CreateBy; beanBack.UpdateDatetime = bean.UpdateDatetime; beanBack.UpdateBy = bean.UpdateBy; return beanBack; }