public static PostResponseModel _Regist(PostInparamModel value) { try { using (ServiceInstance server = FrameCorex.GetService()) { if (server.CheckUserNotExist(value.LID)) { server.UserRegist(value.LID, value.PWD); } else { return(new PostResponseModel() { Message = "User already exsist", Result = Enums.APIResult.Error }); } } } catch (FPException ex) { return(new PostResponseModel() { Message = ex.Message, Result = Enums.APIResult.Error }); } return(new PostResponseModel() { Message = "User regist success,welcome ", Result = Enums.APIResult.Success }); }