コード例 #1
0
 public IActionResult GetMemberNameCount(Int64 memberid, string MemberType, string MemberTypeCode)
 {
     try
     {
         MemberschemeandcodeCount _MemberschemeandcodeCount = objmemtype.GetMemberNameCount(memberid, MemberType, MemberTypeCode, Con);
         if (_MemberschemeandcodeCount != null)
         {
             return(Ok(_MemberschemeandcodeCount));
         }
         else
         {
             return(StatusCode(StatusCodes.Status204NoContent));
         }
     }
     catch (Exception)
     {
         return(StatusCode(StatusCodes.Status500InternalServerError));
     }
 }